package com.lz.demo2;

/**
 * @ClassName Line
 * @Description TODO
 * @Author 2214361854
 * @Date 2022/5/28 14:18
 * @Version 1.0
 */
public class Line extends Shape{
    @Override
    public void draw() {
        System.out.println("打印一条直线 ————");
    }
    public void length() {
        System.out.println("一米多。。。");
    }
}
